package com.example.todolist.service;

import com.example.todolist.model.TeamFarDO;
import com.example.todolist.model.TeamPerDO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cqq
 * @since 2022-03-21
 */
public interface TeamPerService extends IService<TeamPerDO> {

    int addPerToTeam(TeamFarDO teamFarDO);

    List<TeamPerDO> selectAll();

    List<TeamPerDO> selectDetails(String teamID);

    List<TeamPerDO> selectByOneJoinTeam(String openID);


    List<TeamPerDO> IsJoinTeam(String teamId,String uid);

    int returnTeam(String id,String openID);
}
